package com.xinbo.tuiyousuper.utils;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class PreferenceUtils
{
	public static  boolean getGuide(Context context)
	{
		SharedPreferences sp = context.getSharedPreferences(Constans.THEME_MODE,0);
		boolean isGuide = sp.getBoolean("Guide", false);
		return isGuide;
	}
	public static void setGuide(Context context,boolean isGuide)
	{
		SharedPreferences sp = context.getSharedPreferences(Constans.THEME_MODE,0);
		Editor edit = sp.edit();
		edit.putBoolean("Guide",isGuide);
		edit.commit();
	}
}
